package it.inefficienza.test.spring.persistence;


import it.inefficienza.test.spring.model.Contact;

import java.util.List;

/*
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
*/

public interface ContactMapper {
     
    void create(Contact contact);
    Contact read(Long id);
    void update(Contact contact);
    void delete(Long id);
    List<Contact> list();
    
    /*
    @Select("SELECT * FROM contact WHERE id = #{userId}")
    Contact getContact(@Param("contactId") String contactId);
    */
    
}
